<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="https://cdn.jsdelivr.net/npm/vue@2.5.21/dist/vue.js"></script>
    <title>02-v-for</title>
</head>
<body>
<div id="app">
    <li v-for="item in items">
        {{ item.message }}
    </li>
</div>


<script>
    var vm = new Vue({
        el: '#app',
        data: {
//items数组
            items: [
                {message: '星期二'},
                {message: '星期三'},
                {message: '星期四'}
            ]
        }
    });
</script>
</body>
</html>